package com.itheima.service.db;

import com.itheima.domain.UmsMenu;
import com.itheima.domain.UmsRoleMenuRelation;
import com.itheima.util.R;

import java.util.List;

public interface UmsRoleMenuRelationService {

    //根据roleId查询
    List<UmsRoleMenuRelation> findByRoleId(Long roleId);

    void saveAllocMenu(Long roleId, List<Long> menuIds);
}
